package com.woniuxy.service.indent;

import com.github.pagehelper.PageInfo;
import com.woniuxy.entity.Indent;

import java.util.List;

public interface IndentService {
    int pay(Indent indent);
    int returnBed(Indent indent);
    int save (Indent indent);
    int delete(Integer indentId);
    Indent findOne(Integer indentId);
    List<Indent> findAll();
    PageInfo<Indent> findByPage(Integer page, Integer size);
    int update(Indent indent);
    List<Indent> findByPage(int page,int size);
    Indent findByFaultId(Integer indentId);

    void updateSuccess(Integer indentId);
}
